const express = require("express");
const {
  getHotSights,
  addHotSights,
} = require("../controllers/sightController");
const { authenticateToken } = require("../middlewares/authMiddleware");

const router = express.Router();

// 获取所有热门城市
router.get("/hot", getHotSights);

// 添加热门城市
router.post("/hot", addHotSights);

module.exports = router;
